Skip to content

Fixing breakage caused in #10174#10340

Merged
ycombinator merged 2 commits intoelastic:6.xfrom
ycombinator:backport_10135_6.x
Jan 25, 2019
Merged

Fixing breakage caused in #10174#10340
ycombinator merged 2 commits intoelastic:6.xfrom
ycombinator:backport_10135_6.x

Conversation

@ycombinator
Copy link
Contributor

@ycombinator ycombinator commented Jan 25, 2019

PR #10174 inadvertently broke the parsing of a couple of fields:

  1. The audit event. The correct field for 6.x should've been elasticsearch.audit.event_type but Cherry-pick #10135 to 6.x: Elasticsearch/audit fileset should be more lenient in parsing node name #10174 was parsing this information into event.type. The latter is an ECS field that should only exist in 7.0+. This PR reverts the target field to elasticsearch.audit.event_type.

  2. The audit URI. PR Cherry-pick #10135 to 6.x: Elasticsearch/audit fileset should be more lenient in parsing node name #10174 introduced a typo in the grok expression for this field, thereby causing it and any subsequent fields in the log line to no longer be parsed. This PR fixes the typo and now the audit URI field and subsequent fields in log line get parsed again.

Copy link
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Glad you found this. Should have catched this in the review :-(

@ycombinator
Copy link
Contributor Author

jenkins, test this

@ycombinator ycombinator merged commit 897c1bd into elastic:6.x Jan 25, 2019
@ycombinator ycombinator deleted the backport_10135_6.x branch January 25, 2019 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants